<?php
global $_GPC, $_W;
$GLOBALS['frames'] = $this->getMainMenu();
$item = pdo_get('zh_gjw_storepublish',array('id'=>$_GPC['id']));
$cateo = pdo_get('zh_gjw_marketcate',array('id'=>$item['co_id']));
$catet = pdo_get('zh_gjw_marketcate',array('id'=>$item['ct_id']));
$cateth = pdo_get('zh_gjw_marketcate',array('id'=>$item['cth_id']));
$user = pdo_get('zh_gjw_register',array('phone'=>$item['phone']));
$item['cateo']=$cateo['cate'];
$item['catet']=$catet['cate'];
$item['cateth']=$cateth['cate'];
$item['username']=$user['username'];
$img= explode(",",$item['img']);
include $this->template('web/storemanagedetail');